package com.tuling.apollo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.HashMap;
import java.util.Map;

/**
 * @author : fjc.dane@gmail.com
 * @motto : talk is cheap, show me the code. salute the future!
 */


@Controller
@ResponseBody
@RequestMapping("/actuator")
public class ActuatorController {
    @RequestMapping("/info")
    public Map<String, Object> getInfo() {
        Map<String, Object> results = new HashMap<>();
        results.put("status", 1);
        return results;
    }
}
